package com.vistarsoft.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;


@Entity
@Table(name = "member")
public class Member implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long memberId;
	private String memberName;
	private int state;
	private String remark;
	
	@Id
	@TableGenerator(
	     name="tab_stone",
	     table="generator_table",
	     pkColumnName = "g_key",
	     valueColumnName = "g_value",
	     pkColumnValue="user_pk",
	     allocationSize=1
	)
	
	@GeneratedValue(strategy = GenerationType.TABLE,generator="tab_stone")
	public Long getMemberId() {
		return memberId;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	public String getMemberName() {
		return memberName;
	}
	
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	
	public int getState() {
		return state;
	}
	
	public void setState(int state) {
		this.state = state;
	}
	
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
